
<table border="0" cellpadding="4" cellspacing="0">
  <tr>
    <td>
      <table width="340" border="0">
        <tr>
          <td align="left"> <a href="admin/modules/tangra_cms/get_img_admin.php?imgid={$image->get_id()}" target="_blank"><img src="admin/modules/tangra_cms/get_img_admin.php?imgid={$image->get_id()}&amp;imgvar=t1" border="0" /></a> </td>
          <td align="left" valign="top">
            <table width="100%" border="0">
              <tr>
                <td align="left"><strong>Original name</strong>:<br />
                  {$image->get_orig_filename()}</td>
              </tr>
              <tr>
                <td><strong>ID</strong>: {$image->get_id()}</td>
              </tr>
              <tr>
                <td align="left"><strong>Size</strong>: {$image->get_size()/1024|string_format:"%.2f"} KiB</td>
              </tr>
              <tr>
                <td align="left">{$image->get_size_x()} x {$image->get_size_y()} px</td>
              </tr>
            </table>
          </td>
        </tr>
      </table>
    </td>
  </tr>
  <tr>
    <td><strong>Alt</strong>: {if $image->get_alt()}{$image->get_alt()}{else}<span class="no_value">None</span>{/if}</td>
  </tr>
  <tr>
    <td><strong>Note</strong>: {if $image->get_note()}{$image->get_note()}{else}<span class="no_value">None</span>{/if}</td>
  </tr>
</table>
<br />

{if $cis}
<span class="status_warning">
WARNING: There are content items that use this image. If you delete it now this image will disapear from those content items.<br />
<ul>Content items that use this file:
{foreach from=$cis item=ci key=k}
<li><a href="{$ci.manage_path}?manage={$k}" target="_blank">{$ci.text|truncate:100} (ID: {$k})</a></li>
{/foreach}
</ul>
</span>
<br />
{/if}

<br />
<table border="0" cellspacing="0" cellpadding="2">
  <tr>
    <td>
      <table border="0" cellspacing="0" cellpadding="4">
        <tr>
          <td width="22"><img src="img/modules/crystal_icons_small/22x22/msg_question.png" alt="Question icon" /></td>
          <td align="left" valign="middle">Are you sure that you want to <strong>delete</strong> image &quot;{$image->get_orig_filename()}&quot;?</td>
        </tr>
      </table>
    </td>
  </tr>
  <tr>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td align="center">
      <table border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td align="left" height="16" valign="middle">
            <div class="action_yes"><a href="admin/modules/tangra_cms/image/image_delete.php?delete_confirmed={$image->get_id()}">Yes</a></div>
          </td>
          <td width="100">&nbsp;</td>
          <td align="right" height="16">
            <div class="action_cancel"><a href="admin/modules/tangra_cms/image/images.php">Cancel</a></div>
          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
